package com.nbst.model.base;

import java.util.Date;

/**
 * 
 * @ClassName: Permissions
 * @Description:菜单权限
 * @author King
 * @date 2018-8-27
 * 
 */
public class Menu extends OrderBy {
	/** id */
	private Integer id;

	/** id */
	private String pId;

	/** 菜单路径 */
	private String pUrl;

	/** 菜单名称 */
	private String pName;

	/** 排序 */
	private Integer pRank;

	/** 菜单图标 */
	private String pIcon;

	/** 父菜单id */
	private String pPid;

	/** 关闭标志 0关闭 */
	private Integer closed;

	/***/
	private String pRid;

	/** 时间 */
	private Date fDate;

	/** 更新时间 */
	private Date fUpdateTime;

	/** 是否打勾了 */
	private String check;

	/** 用户id(Dask表) */
	private Integer userId;

	/** 菜单id(Dask表) */
	private String menuId;

	/** 排序号(Dask表) */
	private String rank;
	
	/**按钮图标*/
	private String btIcon;

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId == null ? null : pId.trim();
	}

	public String getpUrl() {
		return pUrl;
	}

	public void setpUrl(String pUrl) {
		this.pUrl = pUrl == null ? null : pUrl.trim();
	}

	public String getpName() {
		return pName;
	}

	public void setpName(String pName) {
		this.pName = pName == null ? null : pName.trim();
	}

	public Integer getpRank() {
		return pRank;
	}

	public void setpRank(Integer pRank) {
		this.pRank = pRank;
	}

	public String getpIcon() {
		return pIcon;
	}

	public void setpIcon(String pIcon) {
		this.pIcon = pIcon == null ? null : pIcon.trim();
	}

	public String getpPid() {
		return pPid;
	}

	public void setpPid(String pPid) {
		this.pPid = pPid == null ? null : pPid.trim();
	}

	public Integer getClosed() {
		return closed;
	}

	public void setClosed(Integer closed) {
		this.closed = closed;
	}

	public String getpRid() {
		return pRid;
	}

	public void setpRid(String pRid) {
		this.pRid = pRid == null ? null : pRid.trim();
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Date getfUpdateTime() {
		return fUpdateTime;
	}

	public void setfUpdateTime(Date fUpdateTime) {
		this.fUpdateTime = fUpdateTime;
	}

	public String getCheck() {
		return check;
	}

	public void setCheck(String check) {
		this.check = check;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getMenuId() {
		return menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public String getRank() {
		return rank;
	}

	public void setRank(String rank) {
		this.rank = rank;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBtIcon() {
		return btIcon;
	}

	public void setBtIcon(String btIcon) {
		this.btIcon = btIcon;
	}

	@Override
	public String toString() {
		return "Menu [id=" + id + ", pId=" + pId + ", pUrl=" + pUrl + ", pName=" + pName + ", pRank=" + pRank
				+ ", pIcon=" + pIcon + ", pPid=" + pPid + ", closed=" + closed + ", pRid=" + pRid + ", fDate=" + fDate
				+ ", fUpdateTime=" + fUpdateTime + ", check=" + check + ", userId=" + userId + ", menuId=" + menuId
				+ ", rank=" + rank + ", btIcon=" + btIcon + "]";
	}
}